Skip to content

Add async work thread-safe function example#68

Closed
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
gabrielschulhof:tsfn_async_work
Closed

Add async work thread-safe function example#68
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
gabrielschulhof:tsfn_async_work

Conversation

@gabrielschulhof
Copy link
Copy Markdown
Contributor

Add an example that calls into JavaScript from the Execute callback
of a napi_async_work item by using a napi_threadsafe_function.

Add an example that calls into JavaScript from the `Execute` callback
of a `napi_async_work` item by using a `napi_threadsafe_function`.
@gabrielschulhof
Copy link
Copy Markdown
Contributor Author

@nodejs/n-api PTAL

@gabrielschulhof gabrielschulhof deleted the tsfn_async_work branch October 8, 2018 03:03
@gabrielschulhof gabrielschulhof restored the tsfn_async_work branch October 8, 2018 03:07
Copy link
Copy Markdown
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

gabrielschulhof pushed a commit that referenced this pull request Oct 24, 2018
Add an example that calls into JavaScript from the `Execute` callback
of a `napi_async_work` item by using a `napi_threadsafe_function`.

PR-URL: #68
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@gabrielschulhof
Copy link
Copy Markdown
Contributor Author

Landed in d03c3d4.

@gabrielschulhof gabrielschulhof deleted the tsfn_async_work branch December 27, 2018 18:12
@gabrielschulhof gabrielschulhof restored the tsfn_async_work branch March 31, 2019 18:26
@gabrielschulhof gabrielschulhof deleted the tsfn_async_work branch December 11, 2019 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants